package com.ruoyi.system.service.impl;

import com.ruoyi.common.annotation.DataScope;
import com.ruoyi.common.core.text.Convert;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.system.domain.WxInfo;
import com.ruoyi.system.domain.WxToken;
import com.ruoyi.system.mapper.WxInfoMapper;
import com.ruoyi.system.mapper.WxTokenMapper;
import com.ruoyi.system.service.IWxInfoService;
import com.ruoyi.system.service.IWxTokenService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * infoService业务层处理
 *
 * @author ruoyi
 * @date 2021-07-31
 */
@Service
public class WxTokenServiceImpl implements IWxTokenService
{
    @Autowired
    private WxTokenMapper wxTokenMapper;

    @Override
    public int insertToken(WxToken wxToken) {
        return wxTokenMapper.insertToken(wxToken);
    }

    @Override
    public int deleteToken() {
        return wxTokenMapper.deleteToken();
    }

    @Override
    public WxToken selectToken() {
        return wxTokenMapper.selectToken();
    }
}
